/*    */ package com.yc.web;
/*    */ 
/*    */ import com.yc.dao.model.MagnifierBO;
/*    */ import com.yc.service.MagnifierService;
/*    */ import com.yc.util.ListContentsBFO;
/*    */ import java.util.Map;
/*    */ import org.apache.commons.logging.Log;
/*    */ import org.apache.commons.logging.LogFactory;
/*    */ 
/*    */ public class MagnifierWeb
/*    */ {
/* 13 */   private static final Log log = LogFactory.getLog(MagnifierWeb.class);
/*    */   private MagnifierService magnifierService;
/*    */ 
/*    */   public MagnifierWeb()
/*    */   {
/* 17 */     this.magnifierService = new MagnifierService();
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getMagnifierList(Map condition) {
/* 21 */     return this.magnifierService.getMagnifierList(condition);
/*    */   }
/*    */ 
/*    */   public boolean saveMagnifier(MagnifierBO bo) {
/* 25 */     String strID = bo.getId();
/* 26 */     if ((strID == null) || ("".equalsIgnoreCase(strID.trim()))) {
/* 27 */       return this.magnifierService.saveMagnifier(bo);
/*    */     }
/* 29 */     return this.magnifierService.updateMagnifier(bo);
/*    */   }
/*    */   public boolean deleteMagnifier(String strID) {
/* 32 */     return this.magnifierService.deleteMagnifier(strID);
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getMagnifierByBtsName(Map condition) {
/* 36 */     return this.magnifierService.getMagnifierByBtsName(condition);
/*    */   }
/*    */ }

/* Location:           E:\java\apache-tomcat-6.0.36\webapps\btsm\WEB-INF\classes\
 * Qualified Name:     com.yc.web.MagnifierWeb
 * JD-Core Version:    0.6.2
 */